package com.laopan.wxpay.bean.refund;

import com.google.gson.annotations.SerializedName;

/**
 * <p>
 *
 * </p>
 *
 * @author laopan
 * @className RefundCallbackResult
 * @date 2021/3/17 18:30
 */

public class RefundCallbackAmountResult {
    /**
     * 订单总金额，单位为分，只能为整数，详见支付金额
     */
    @SerializedName("total")
    private Integer total;
    /**
     * 退款金额，币种的最小单位，只能为整数，不能超过原订单支付金额，如果有使用券，后台会按比例退。
     */
    @SerializedName("refund")
    private Integer refund;
    /**
     * 用户实际支付金额，单位为分，只能为整数，详见支付金额
     */
    @SerializedName("payer_total")
    private Integer payerTotal;
    /**
     * 退款给用户的金额，不包含所有优惠券金额
     */
    @SerializedName("payer_refund")
    private Integer payerRefund;

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getRefund() {
        return refund;
    }

    public void setRefund(Integer refund) {
        this.refund = refund;
    }

    public Integer getPayerTotal() {
        return payerTotal;
    }

    public void setPayerTotal(Integer payerTotal) {
        this.payerTotal = payerTotal;
    }

    public Integer getPayerRefund() {
        return payerRefund;
    }

    public void setPayerRefund(Integer payerRefund) {
        this.payerRefund = payerRefund;
    }
}
